package com.xiangyu.demo.filter;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

/**
 * java类简单作用描述
 *
 * @ProjectName: springboot-demo
 * @Package: com.xiangyu.demo.filter
 * @Description: java类作用描述
 * @Author: 向羽
 * @CreateDate: 2018/1/19 12:14
 * @UpdateUser: 向羽
 * @UpdateDate: 2018/1/19 12:14
 * @UpdateRemark: The modified content
 * @Version: 2.0
 */
public class CustomListener implements ServletContextListener {
    @Override
    public void contextInitialized(ServletContextEvent servletContextEvent) {
        System.out.println("servletContext初始化......");
    }

    @Override
    public void contextDestroyed(ServletContextEvent servletContextEvent) {
        System.out.println("servletContext销毁......");
    }
}
